IRQ Cleanup: rename nr_ioapic_registers to nr_ioapic_entries
authorKeir Fraser <keir@xen.org>
Fri, 30 Sep 2011 20:14:34 +0000 (21:14 +0100)
committerKeir Fraser <keir@xen.org>
Fri, 30 Sep 2011 20:14:34 +0000 (21:14 +0100)
commit10fd868e6ca92ac42057cb53199922b7ae13ba9c
treeb694f75ae125d41dfe4457f5a3202e17794020e4
parent150ce86b4c5b51c036ed6b4d2b86f1cb01bef797
IRQ Cleanup: rename nr_ioapic_registers to nr_ioapic_entries

The name "nr_ioapic_registers" is wrong and actively misleading.  The
variable holds the number of redirection entries for each apic, which
is two registers fewer than the total number of registers.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/io_apic.c
xen/drivers/passthrough/amd/iommu_intr.c
xen/drivers/passthrough/vtd/intremap.c
xen/include/asm-x86/io_apic.h